package com.panda.web.mapper.aims;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.panda.web.entity.aims.CallAi;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface CallAiMapper extends BaseMapper<CallAi> {
    @Select("select * from call_ai where openid =#{openid} order by creation_time desc")
    List<CallAi> findByOpenid(String openid);
}
